<?php
echo $form->create('Decision');
echo $form->hidden("Decision.act_id", array('value' => $act_id));
?>
<table id="tabla" class="tabla">    
    <tbody>
        <tr>
            <td><?php echo $form->input("Decision.texto", array('label' => 'Decisión')); ?></td>
        </tr>
        <tr>            
            <td><?php echo $ajax->submit('Guardar', array('url' => array('controller' => 'decisions', 'action' => 'add', $act_id), 'update' => 'content', 'indicator' => 'loading')); ?></td>
        </tr>
    </tbody>
</table>
<?php echo $form->end(); ?>

<legend><?php echo $ajax->link("ATRAS" . $html->image("regresar.gif", array('width' => '30', 'heigth' => '30', 'alt' => 'Adicionar', 'align' => 'center')), array('controller' => 'Decisions', "action" => "index", $act_id), array('update' => 'content', 'escape' => false, 'indicator' => 'loading')) ?></legend>
